(set #sub-dir "data") ;sub directory containing data files
(set #readme-file "ReadMe") ;name of readme file
(set #man-file "Instructions") ;name of manual file
(set #hint-file "Hints") ;name of hint file
(set #sol-file "Solution") ;name of solution file
(set #highs-file "Walker.highs") ;name of high scores file
(set #prefix @app-name) ;name of slave, directory
(set #last-file "speech.ppp") ;name of last file to be depacked
(set #ico_suffix_00 "inf") ;Icon suffixes (not all of these must exist)
(set #ico_suffix_01 "magicwb")
(set #ico_suffix_02 "romicon")
(set #ico_suffix_03 "romicon2")
(set #ico_suffix_04 "newicon")
(set #ico_suffix_05 "newicon2")
(set #ico_suffix_06 "newexot")
(set #ico_suffix_07 "colicon")
(set #ico_suffix_08 "colicon2")
(set #ico_suffix_09 "colexot")
(set #ico_suffix_10 "colfrank")
(set #ico_suffix_11 "colfrank2")
; "123456789012345678901234567"
(set #ico_desc_00 "Normal") ;Icon descriptions (max 21 chars if you have > 9 entries, or 27 chars otherwise. These are renamed to "gamename.info" so no illegal characters like :/* etc)
(set #ico_desc_01 "MagicWB Icon")
(set #ico_desc_02 "RomIcon")
(set #ico_desc_03 "RomIcon Ingame")
(set #ico_desc_04 "NewIcon")
(set #ico_desc_05 "NewIcon Ingame")
(set #ico_desc_06 "NewIcon by Exotica")
(set #ico_desc_07 "OS3.5")
(set #ico_desc_08 "OS3.5 Ingame")
(set #ico_desc_09 "OS3.5 by Exotica")
(set #ico_desc_10 "OS3.5 by Frank")
(set #ico_desc_11 "OS3.5 alt by Frank")
(procedure P_Install
(set #AD_disk "Walker_1")
(P_disk)
(copyfiles
(help @copyfiles-help)
(source ("%s:" #AD_disk))
(dest #dest)
(pattern "#?")
(files)
)
(copyfiles
(help @copyfiles-help)
(source ("%s:game/" #AD_disk))
(dest #dest)
(all)
)
(set #AD_disk "Walker_2")
(P_disk)
(copyfiles
(help @copyfiles-help)
(source ("%s:" #AD_disk))
(dest #dest)
(pattern "#?")
(files)
)
(copyfiles
(help @copyfiles-help)
(source ("%s:nwlev2/" #AD_disk))
(dest #dest)
(all)
)
(copyfiles
(help @copyfiles-help)
(source ("%s:nwlev3/" #AD_disk))
(dest #dest)
(all)
)
(copyfiles
(help @copyfiles-help)
(source ("%s:nwlev4/" #AD_disk))
(dest #dest)
(all)
)
(set #AD_disk "Walker_3")
(P_disk)
(copyfiles
(help @copyfiles-help)
(source ("%s:" #AD_disk))
(dest #dest)
(pattern "#?")
(files)
)
(copyfiles
(help @copyfiles-help)
(source ("%s:game" #AD_disk))
(dest #dest)
(all)
)
(copyfiles
(help @copyfiles-help)
(source ("%s:nwlev1" #AD_disk))
(dest #dest)
(all)
)
)
;****************************
;----------------------------
; checks if given program is installed, if not abort install
(prompt "\nWould you like to depack all the files so the\ngame loads much more quickly? You will need\n4.5Mb memory just to preload the images and\nobviously 4.5Mb of free disk space aswell.\n")
(default 0)
(choices "No, leave the files crunched!" "Yes, decrunch them for maximum speed!")
(help @askchoice-help)
)
)
(if (= #depack 1)
(
(working "Calling WHDLoad to depack the files...")
(message "Decrunching was not successful!\nWHDLoad was unable to decrunch all files!\n\nHowever, the game should still run OK as\ndecompression is optional.\n\n")